-
Notifications
You must be signed in to change notification settings - Fork 3.3k
feat: Allow users to add multiple Applications to entities #15160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
feat: Allow users to add multiple Applications to entities #15160
Conversation
|
🔴 Meticulous spotted visual differences in 331 of 1134 screens tested: view and approve differences detected. Meticulous evaluated ~8 hours of user flows against your PR. Last updated for commit 663211b. This comment will update as new commits are pushed. |
Bundle ReportChanges will increase total bundle size by 10.58kB (0.04%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: datahub-react-web-esmAssets Changed:
Files in
|
| ...entityDomain | ||
| } | ||
| application { | ||
| applications { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so, this constitutes a minor, but still real, breaking change. lets make sure we include this in the next version release notes
...rc/app/entityV2/shared/containers/profile/sidebar/Applications/SidebarApplicationSection.tsx
Outdated
Show resolved
Hide resolved
...hql-core/src/main/java/com/linkedin/datahub/graphql/types/dataset/mappers/DatasetMapper.java
Show resolved
Hide resolved
chriscollins3456
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice! this is great stuff all around. i only have one main comment around making a backwards incompatible change to our graphql api.
shouldn't be a huge change then i think this is probably good to go
| The application associated with the dataset | ||
| The applications associated with the dataset | ||
| """ | ||
| application: ApplicationAssociation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so this is technically a backwards incompatible change to remove a field from graphql like this. since all of our API changes need to be backwards compatible I think we will need to instead mark this field as deprecated and then create a new applications field like you have here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same thing everywhere below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense! i debated because i made the intended UI changes but API needs to be backwards compatible nevertheless
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lmk what you think of the updates now
| : null; | ||
| }))); | ||
| })) | ||
| .dataFetcher( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chriscollins3456 - ptal of the resolver changes here to support application. i made updates here instead of making changes to all the mappers to support setApplication.
Previously, it was designed to only allow 1 application per asset. This PR allows setting multiple applications per asset. The changes include:
Adding applications:
https://github.com/user-attachments/assets/3a00e706-f35f-4e56-a4d1-0dab3dd2041c
Removing applications:
https://github.com/user-attachments/assets/406efa6a-5a8a-4b16-a382-888dec4b3015